	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=8" />
	<meta http-equiv="Cache-Control" CONTENT="no-cache" /> 

	<link rel="stylesheet" type="text/css" href="resources/themes/default/css/Content.css" />
	<link rel="stylesheet" type="text/css" href="resources/themes/default/css/Core.css" />
	<link rel="stylesheet" type="text/css" href="resources/themes/default/css/Layout.css" />
	<link rel="stylesheet" type="text/css" href="resources/themes/default/css/Dock.css" />
	<link rel="stylesheet" type="text/css" href="resources/themes/default/css/Window.css" />
	<link rel="stylesheet" type="text/css" href="resources/themes/default/css/Tabs.css" />
	<!--[if IE]>
		<script type="text/javascript" src="resources/scripts/excanvas_r43.js"></script>
	<![endif]-->
	
    <script type="text/javascript" src="resources/scripts/mootools-1.2.4-core-yc.js"></script>
    <script type="text/javascript" src="resources/scripts/mootools-1.2.4-more-yc.js"></script>
    <script type="text/javascript" src="resources/scripts/mocha.js"></script>
	<script type="text/javascript" src="resources/plugins/mochaNavBar/navbar.js"></script>
	<script type="text/javascript">
		    nodes = <%=menuJson%>;
		    new MUI.NavBar({
		        container:'desktopNavbar',
		        id:'desktopNavbar',
		        nodes:nodes,
		        textField:'menuName',
		        valueField:'menuUrl'
		    });

			initWidgets = function() {
			    MUI.clockWindow = function(){
					new MUI.Window({
						id: 'clock',
						title: 'Clock',
						addClass: 'transparent',
						contentURL: 'widgets/timer.html',
						shape: 'gauge',
						headerHeight: 30,
						width: 160,
						height: 160,
						x: 570,
						y: 140,
						padding: { top: 0, right: 0, bottom: 0, left: 0 },
						require: {			
							js: [MUI.path.plugins + 'coolclock/scripts/coolclock.js'],
							onload: function(){
								if (CoolClock) new CoolClock();
							}	
						}				
					});	
				};
				if ($('clock_dockTabLink')) {
					$('clock_dockTabLink').addEvent('click', function(e) {
						e.stop();
						MUI.clockWindow();
					});
				}

				new MUI.clockWindow();
				MUI.myChain.callChain();
			};
	</script>